package com.cyz.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cyz.common.bean.Button;
import com.cyz.common.dto.ButtonDto;
import com.cyz.common.utils.R;

/**
 * 管理端免费课程按钮接口
*/
public interface ButtonService extends IService<Button> {

    R queryFreeButtons();

    R deleteFreeButtons(Integer[] ids);

    R addFreeButton(ButtonDto buttonDto);

    R updateFreeButton(ButtonDto buttonDto);
}
